package com.qidianit.mes.device.service;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.DeviceTypeVO;
import com.qidianit.mes.pojo.Process;
import org.springframework.stereotype.Service;

/**
 * @Author djl
 * @Time 2024/10/15 23:27
 */
@Service
public interface DeviceTypeService {
    MESResult queryProcess(String deviceTypeName,Boolean isEnabled,String parentCode,Integer page, Integer limit);


    MESResult addDeviceType(DeviceTypeVO deviceTypeVO);

    MESResult editDeviceType(DeviceTypeVO deviceTypeVO);

    MESResult deletedeviceType(String deviceTypeCode);

    MESResult selectByParentCode(String parentCode);

    MESResult addDeviceTypeSon(DeviceTypeVO deviceTypeVO, String parentCode);
}
